/**
 * Aug 9, 2020  copy right
 */
package com.code260.ss.spring3mybatis.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.code260.ss.spring3mybatis.demo.dao.UserMapper;
import com.code260.ss.spring3mybatis.demo.model.User;

/**
 * @author code260@qq.com
 *
 */
@Component
public class UserService {

	@Autowired
	private UserMapper userMapper;
	
	public void saveUser(User user) {
		this.userMapper.saveUser(user);
	}
}
